home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_3.1 / SWToolkit3 / DOCS / memowner.doc < prev    next >
Encoding:
Text File  |  1996-03-25  |  2.2 KB  |  65 lines

  1. [NOTE: Memowner used to be called "owner" in the original 3.1 NDK.
  2.        It was renamed for the CD-ROM distribution to avoid a name
  3.        clash with the Envoy "Owner" program]
  4.  
  5. Memowner version 37.2 2/93
  6. Usage: memowner [0x | $]address [0x | $]address ...
  7.  
  8.  
  9. Memowner is used to find the "owner" of a RAM or ROM address.
  10. Onwer can find the "owner" or status (free) if the address is in:
  11.  
  12.                 Task Control Block
  13.                 Task Stack
  14.                 SegList
  15.                 Public Message Ports
  16.                 Messages on public ports
  17.                 tc_MemEntry
  18.                 FreeList
  19.                 ROM Modules
  20.  
  21. Version 37.2 of Memowner adds "SegTracker" support.  If SegTracker
  22. (now distributed with Enforcer) is running, memowner can find the hunk
  23. and offset of any address that's in any loaded code (process,
  24. library, device, handler, etc.)
  25.  
  26. Memowner can be used in conjunction with the "LVO" tool to find the
  27. likely systen function containing any ROM address.  This is very
  28. useful if you get an Enforcer hit or Mungwall hit or crash at
  29. a ROM PC address.  Ose Memowner to determine the ROM module
  30. containing the adress, then give LVO the module name (example: intuition)
  31. and the address (example: LVO intuition ROMADDRESS=0xnnnnnnnn)
  32.  
  33.  
  34. Example usage of Memowner
  35. =========================
  36.  
  37. 1> Memowner 0x3297a6 0x329fea 0x2cc98b 0x292a55 0x208f42 0x272327
  38.  
  39. Address  - Owner
  40. --------   -----------
  41.  
  42. 003297A6 - in MsgPort 003297A4: LOGHOST signals to
  43.               Process  0x00326998: ARexx - CLI ()
  44.  
  45. 00329FEA - in MsgPort 00329FE8: LOGPORT signals to
  46.               Process  0x002DB470: ARexx - CLI ()
  47.  
  48. /* If SegTracker is running, can find in library/device/handler seglists */
  49. 00593A5A - in SegList  of LIBS:test.library   Hunk 0000 Offset 00000002
  50.  
  51. /* If in a Process seglist */
  52. 002CC98B - in SegList  of Process  0x002CE820: FizEd Master Process
  53.  
  54.  
  55. 002CC98B - in MsgPort 002CC986: FizEd *PRIVATE* Port signals to
  56.               Process  0x002CE820: FizEd Master Process
  57.  
  58. 00292A55 - in MsgPort 00292A50: Timer signals to
  59.               Process  0x002A9A50: PopUpMenu
  60.  
  61. 00208F42 - in -TCB-    of Task     0x00208F3E: trackdisk.device
  62. 00208F42 - in MemList  of Task     0x00208F3E: trackdisk.device
  63.  
  64. 00372327 - in FreeList
  65.